package com.kaede.citest;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

@RestController
public class HelloController {

    @GetMapping("")
    public ResponseEntity<Map<String, String>> hello(){
        Map<String, String> response = new HashMap<>();
        response.put("code","0");
        return ResponseEntity.ok(response);
    }
}
